
#ifndef __COMMATCH_UTIL_H
#define __COMMATCH_UTIL_H


#include <vector>
#include <map>
#include <wrap/callback.h>
#include "../Bim_Ifc_Data.h"

using namespace BIM_IFC_DATA;

class CMeshModel;
class CMeshO;

struct ComMatch_Util
{
	static void ComVoxelizationAndMatch( const char* lpszPath, vector<P_Instance>& vProduct, std::vector<CMeshModel*>& vCom, vcg::CallBackPos* cb = 0 );

//private:
//	static void WriteMeshesToFile( const char* lpszPath, const char* lpszJsonFile, std::vector<CMeshModel*>& vCom, std::multimap<unsigned int,unsigned int>& classes,unsigned int classNum,unsigned int overNum);
//	//static void WriteToJson1( CMeshO& mUnique, CMeshO& mInstance,Json::Value& mesh,unsigned int meshCount, unsigned int classNum,unsigned int overNum,bool isUnique);
//	static void WriteToJson( const char* lpszPath, const char* lpszJsonFile, CMeshModel* pModel, Json::Value& mesh,unsigned int classNum,int overNum );
};




#endif	//__COMMATCH_UTIL_H
